<!DOCTYPE html>
<html lang="zh">

	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>Document</title>
	</head>

	<body>
		<style type="text/css">
			html,body{
				padding: 0;
				border: 0;
				margin: 0;
				height: 100%;
				width: 100%;
			}
			.container{
				width: 100%;
				height: 100%;
				position: relative;
			}
			.box-1 {
				position: absolute;
				left: 0;
				top: 0;
				z-index: 2;
				height: 35px;
				width: 100%;
				background-color: red;
			}
			.box-2{
				width: 100%;
				position: absolute;
				top: 35px;
				background-color: green;
			}
		</style>
		<!--<div class="container">
			<div class="box-1">.box-1</div>
			<div class="box-2">.box-2</div>
		</div>-->
		<video width="600px" height="400px" autoplay="autoplay" muted="muted" loop="loop" controls="controls">
			<source src="trailer.mp4" type="video/mp4"></source>
			当前浏览器不支持 video直接播放，点击这里下载视频： <a href="trailer.webm">下载视频</a>
		</video>
		
		<script type="text/javascript">
//			alert(navigator.userAgent)
		</script>
	</body>

</html>